<?php
require('init.php');
@$id=$_REQUEST['uid'];
if($id===null || $id===""){
    die("require");
}
$sql="delete from user where uid=$id";
$result=mysqli_query($conn,$sql);
if($result){
    echo "删除成功";
}